home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_400 / 445_01 / blank10 / blank.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-05  |  1.1 KB  |  32 lines

  1. /**************************************************************************/
  2. /*                            SCREEN SAVER                                */
  3. /*                        For Turbo C compiler                            */
  4. /*                                                                        */
  5. /*                               M\Cooper                                 */
  6. /*                        3425 Chestnut Ridge Rd.                         */
  7. /*                         Grantsville, MD 21536                          */
  8. /*                       email: thegrendel@aol.com                        */
  9. /*                                                                        */
  10. /*           This snippet of code is placed in the Public Domain          */
  11. /**************************************************************************/
  12.  
  13.  
  14. #include <conio.h>
  15.  
  16. #define SPECIAL_KEY ','
  17. /* Or use your own "secret" key */
  18.  
  19. void main()
  20. {
  21.  
  22.  
  23.       clrscr(); 
  24.       _setcursortype( _NOCURSOR );
  25.  
  26.       while ( getch() != SPECIAL_KEY )
  27.       ;
  28.  
  29.       _setcursortype( _SOLIDCURSOR );
  30.  
  31. }
  32.